package com.mtbu.dao;
import my.myorm.tool.jdbc.SQLExecutor;
import my.myorm.tool.jdbc.SQLManager;

import com.mtbu.bean.Channel;
import com.mtbu.dao.base.ChannelDaoBase;
public final class  ChannelDao extends ChannelDaoBase{
   public   String getSplit(Channel channel) throws Exception{
        return "";
    }
   
   
   public void createTableIfNotExist(String split)throws Exception{

	   SQLExecutor dbconn= SQLManager.getSQLExecutor(super.getDsName());
		       
	   String sql = "create table if not exists "+getTable()
	       + split
		   + " like " + getTable()+ " ;" ;
	            
	   dbconn.execute(sql);
   }
}
